package cn.mily.user.mapper;

import cn.mily.basics.mapper.BasicMapper;
import cn.mily.user.domain.User;

public interface UserMapper extends BasicMapper<User> {
    /**
     * 根据phone 获取对象
     * @param phone
     * @return
     */
    User findByPhone(String phone);

    User findByInfoId(Long id);
}
